﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MessageList.ascx.cs" Inherits="WebControl_MessageList"  %>
<%@ Register Src="PageOn.ascx" TagName="PageOn" TagPrefix="uc1" %>
<style type="text/css">
.divFrame{
    border-bottom-style :dashed  ;
    border-bottom-width: 1px;
    border-bottom-color:#000;
     
    width:700px;
    font-size:15px;
    height:35px;
    
}
.time
{
    color:#999999; 
    font-size:12px;
}
.liCbx
{ 
    float:left; 
    width:50px;
    align:center;
}
</style>
 <script language="javascript" src="../js/Message.js"  type="text/javascript" > </script> 
  <div class="box">
    <div id="divTabs" class="tagMenu">
        <h2>站内消息</h2>
        <ul class="menu">
            <asp:Label ID="labHead" runat="server" Text="Label"></asp:Label>
        </ul>
    </div>
  <div class="content">
    <div class="layout">
              <asp:Repeater ID="rptUnread" runat="server">
                <ItemTemplate>
                    <div class="divFrame">
                        <ul style="margin-top:0px; ">
                            <li class="liCbx">
                                <input style="vertical-align:middle;" name="cbxUneadMessageId" type="checkbox" />
                            </li>
                            <li style="float:left;margin-left:10px;">
                                <div class="time"><%# Eval("createTime").ToString() %></div>
                                <div><a href="MessageInfo.aspx?mesId=<%# Eval("mesId") %>"><%# Eval("title")%></a></div>
                            </li>
                            <li style="float:right;margin-right:10px">
                                <asp:LinkButton ID="Delete"  CommandArgument='<%#DataBinder.Eval(Container.DataItem, "mesId")%>' CommandName="Delete" OnClick="Delete_Click" OnClientClick="return confirm('真的要删除吗？');" runat="server">删除</asp:LinkButton>
                            </li>
                        </ul>
                          
                    </div>
                </ItemTemplate>
              </asp:Repeater>  
              <uc1:PageOn ID="PageOn1" runat="server" OnPageChanged="PageOn1_PageChanged" />
         </div> 
      
     </div>
 </div>
